FROM node:12
COPY . /front
COPY ./package*.json ./front
EXPOSE 8080
WORKDIR /front
RUN npm install
# RUN npm start
CMD ["npm","i"]
CMD ["npm", "run", "dev"]
# CMD ["npm","run","dev"]
# CMD [ "sh", "-c", "npm i && npm run dev"]
# CMD [ "npm","i","&&","npm", "run","dev" ]
